package com.beamfield.dao.lab;

import com.beamfield.modelVo.LabStatisticsVo;
import com.beamfield.modelVo.SuppliesDetectVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author Zephyr
 * @Description:
 * @Date 2018/10/2
 */
@Component
public interface LabStatisticsMapper {
    List<LabStatisticsVo> sumTrials(@Param("beamId") Long beamId);

    Integer sumLabOperator(@Param("beamId") Long beamId);

    List<LabStatisticsVo> sumTrialsGroupByDate(@Param("beamId") Long beamId);

    List<LabStatisticsVo> countLabSampresGroupTypeAndResult(@Param("beamId") Long beamId);

    List<SuppliesDetectVo> getDetecting(@Param("beamId") Long beamId);
}
